function formSubmit(ev, ok) {
	ev.stopPropagation();
	ok = (typeof ok != 'undefined') ? ok : false;
	if (ok) return true;
	$.blockUI({ message: $('#question'), css: { width: '600px',height:'100px',border:'10px solid #54C2DC' } }); 
	return false;
}

$(document).ready(function() { 
	$('#taobaoLoadform').bind('submit', formSubmit);

	$('#yes').click(function() { 
		$('#taobaoLoadform').trigger('submit', [true]); 
		 $.blockUI({ message: "<h1 style=\"margin-top:15px;color:#54C2DC;\">处理中...请不要关闭该页面！</h1>" , css:{height:'50px',width:'600px',border:'10px solid #54C2DC'}});
//		$.ajax({ 
//			url: 'wait.php', 
//			cache: false, 
//			complete: function() { 
//					$.unblockUI(); 
//				} 
//				}); 
	}); 

	$('#no').click(function() { 
		$.unblockUI(); 
		return false; 
		}); 

}); 
